home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1994 November / Cd Ware (Nro. 2) - Epimundo.iso / DOS / UD / LPTRST.ZIP / LPTRST.DOC < prev    next >
Encoding:
Text File  |  1994-06-03  |  1005 b   |  25 lines

  1. LPTRST is a program which will reset any parallel port installed in your system, 
  2. and report back the results of such an action. The results are displayed on the screen, 
  3. and are also reported back to DOS via the ERRORLEVEL function. ERRORLEVELs reported are:
  4.  
  5. 0 - successful reset of port and device.
  6. 1 - Invalid port number selected. You asked to reset a port that
  7.     isn't physically installed.
  8. 2 - No parallel ports are installed in this system.
  9. 3 - HELP was requested.
  10.  
  11. These ERRORLEVELs can be used in a batch file to control execution of program flow as in 
  12. if you didn't want a particular file to be automatically printed upon startup of your 
  13. computer if the printer wasn't ready.
  14.  
  15. Sample useage:
  16.  
  17.           LPTRST 1<cr>   ; reset port #1
  18.           LPTRST<cr>     ; gets HELP for user if user doesn't use the conventional 
  19.                             '/?' option to get HELP.
  20.           LPTRST /?      ; conventional request for HELP
  21.  
  22. Enjoy with much success!
  23.  
  24.           
  25.